package com.newway.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.newway.common.result.BaseEntity;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("activity")
public class Activity extends BaseEntity {

    private Integer id;

    private String title;

    private String address;

    private String content;

    private Integer totalNum;

    private Integer currentNum;

    //@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String activityTime;

    private String status;//1默认可用 2下架

}
